﻿using System.Windows;
using Machine.main.Services;
using Machine.main.Views;
using Prism.Ioc;

namespace Machine.main
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App
    {
        protected override Window CreateShell()
        {
            return Container.Resolve<MainWindow>();
        }

        protected override void RegisterTypes(IContainerRegistry services)
        {
            services.Register<IMenuItemService, MenuItemService>();
        }
    }
}
